import URI from './uri'
import axios from 'axios'

function request(method = 'GET', uri = URI.TEST_INDEX, data = {}) {
    let res = axios({
        method: method,
        url: uri,
        data: data
    })
    return res
}

export default {
    send: request
}